package com.fable.sgms.user.service;

import com.fable.sgms.user.api.vo.UserVO;
import com.fable.sgms.user.dao.entity.SysUser;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface UserService {
    UserVO save(UserVO vo);

    List<SysUser> findAll();

    PageInfo<SysUser> query(SysUser entity);

    SysUser findByUserName(String userName);
}
